package com.tlcx.kfip.entity;

import java.io.Serializable;

/**
 * 最新揭晓列表中实体
 * Created by victor on 2016/10/6 21:39.
 * Email:zhuzhaoyang@yuanchuangyun.com
 */
public class LastAnnounceEntity implements Serializable {
    private int  id;                 //id
    private String name;             //名字
    private String price;            //价格
    private int iconUrl;             //icon地址
    private int avatarUrl;           //头像地址
    private long remainTime;         //剩余时间（单位为：毫秒）
    private long endTime;            //结束时间（单位为：毫秒）
    private int personCount;         //夺宝人数
    private String time;             //日期
    private String winner;           //中奖者

    public LastAnnounceEntity(){}
    public LastAnnounceEntity(int id,String name ,String price ,int iconUrl ,String time ,String winner ,int personCount,long remainTime,long endTime){
        this.id = id;
        this.name = name;
        this.price = price;
        this.iconUrl = iconUrl;
        this.time = time;
        this.winner = winner;
        this.personCount = personCount;
        this.remainTime = remainTime;
        this.endTime = endTime;

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setAvatarUrl(int avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public void setRemainTime(long remainTime) {
        this.remainTime = remainTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public int getAvatarUrl() {

        return avatarUrl;
    }

    public long getRemainTime() {
        return remainTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public void setIconUrl(int iconUrl) {
        this.iconUrl = iconUrl;
    }

    public String getPrice() {

        return price;
    }

    public int getIconUrl() {
        return iconUrl;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {

        return name;
    }

    public void setPersonCount(int personCount) {
        this.personCount = personCount;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public void setWinner(String winner) {
        this.winner = winner;
    }

    public int getPersonCount() {

        return personCount;
    }

    public String getTime() {
        return time;
    }

    public String getWinner() {
        return winner;
    }
}
